import 'package:development_assistant/config/colors.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class HomeBackground extends StatelessWidget {

  final Widget front;

  const HomeBackground({super.key, required this.front});

  @override
  Widget build(BuildContext context) {
    return Stack(
        children: [
          Positioned(
              child: Container(
                height: 600.h,
                decoration: BoxDecoration(
                    gradient: ColorsConfig().backgroundColorOfTheme
                ),
              )
          ),
          front
        ]
    );
  }
}
